How to factor 3p^2-2p-5